QT       += core gui serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    base_widget.cpp \
    crc16CCITT.cpp \
    crc16MODBUS.cpp \
    graphic_widget.cpp \
    header_widget.cpp \
    home_widget.cpp \
    hyperlink_label.cpp \
    main.cpp \
    manage_widget.cpp \
    misc_widget.cpp \
    thread_serialport.cpp

HEADERS += \
    base_widget.h \
    crc16CCITT.h \
    crc16MODBUS.h \
    graphic_widget.h \
    header_widget.h \
    home_widget.h \
    hyperlink_label.h \
    manage_widget.h \
    misc_widget.h \
    thread_serialport.h

FORMS += \
    base_widget.ui \
    graphic_widget.ui \
    header_widget.ui \
    home_widget.ui \
    manage_widget.ui \
    misc_widget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
